//
//  FuJinXqViewController.m
//  GOGOTravel
//
//  Created by dllo on 16/3/6.
//  Copyright © 2016年 果果. All rights reserved.
//

#import "FuJinXqViewController.h"
#import "FUjinxiangQing.h"
@interface FuJinXqViewController ()

@end

@implementation FuJinXqViewController

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        
    }
    return self;
}

- (void)setModel:(FUjinxiangQing *)model{
    if (_model != model) {
        [_model release];
        _model = [model retain];
    }
}



- (void)dealloc{
    [_model release];
    [super dealloc];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:0.9 green:0.29 blue:0.44 alpha:1];
    self.navigationController.navigationBar.barStyle = UIBarStyleBlack;
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.navigationItem.title = _model.title1;
    
    UILabel *label = [[UILabel alloc] init];
    
    label.frame = CGRectMake( 5, 0, self.view.frame.size.width-10, [UIScreen mainScreen].bounds.size.height);
    
    label.text  = _model.text1;
    label.font = [UIFont systemFontOfSize:14];
    label.numberOfLines = 30;
    [self.view addSubview:label];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
